Scheduler for WinForms | ComponentOne
C1.ScheduleCore Assembly / C1.Schedule Namespace / AppointmentList Class / Sort Method / Sort(Comparison<Appointment>) Method
The System.Comparison`1 to use when comparing elements.

In This Topic
    Sort(Comparison<Appointment>) Method
    In This Topic
    Sorts the elements in the entire AppointmentList using the specified System.Comparison.
    Syntax
    'Declaration
     
    Public Overloads Sub Sort( _
       ByVal comparison As System.Comparison(Of Appointment) _
    ) 
    public void Sort( 
       System.Comparison<Appointment> comparison
    )

    Parameters

    comparison
    The System.Comparison`1 to use when comparing elements.
    See Also